package com.atguigu.lease.web.admin.mapper;

import com.atguigu.lease.model.entity.GraphInfo;
import com.atguigu.lease.model.enums.ItemType;
import com.atguigu.lease.web.admin.vo.graph.GraphVo;
import com.atguigu.lease.web.admin.vo.room.RoomSubmitVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author liubo
* @description 针对表【graph_info(图片信息表)】的数据库操作Mapper
* @createDate 2023-07-24 15:48:00
* @Entity com.atguigu.lease.model.GraphInfo
*/
public interface GraphInfoMapper extends BaseMapper<GraphInfo> {

    void saveByApartmentSubmitVo(@Param("id") Long id, @Param("graphVoList") List<GraphVo> graphVoList, @Param("createTime") Date createTime);
    List<GraphVo> getGraphVoList(Long id);


    void saveByRoomSubmitVo(@Param("id") Long id,@Param("graphVoList") List<GraphVo> graphVoList,@Param("createTime")Date createTime);
}




